﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeBehind="Bu_WeekReport_Other_Edit.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Reports.Bu_WeekReport_Other_Edit"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <base target="_self" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="../../Scripts/jquery-1.6.min.js"></script>
    <script type="text/javascript" src="../../Scripts/control.js"></script>
    <link href="../../Styles/jquery.validate.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery.validate.js" language="javascript" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.message_cn.js" language="javascript" type="text/javascript"></script>
    <link href="../../Styles/control.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
        var opts = null;
        function InitRules() {
            opts = {
                 rules:
                 {
					<%= numSortNo.UniqueID%>:{required: true,digits: true},
					<%= txtDescription.UniqueID%>:{required: true,maxlength: 500}					
                 },
                 messages:
                 {
					<%= numSortNo.UniqueID%>:{required: "事件序号 请输入合适的值",digits: "事件序号 请输入有效的整数"},
					<%= txtDescription.UniqueID%>:{required: "事件描述 请输入合适的值",maxlength: "事件描述 最多只能输入500个字符"}					
                 },
                 onfocusout:false,
                 onclick:false,
                 onkeyup:false,
                 errorPlacement: function(error, element) {
                    $("#errorContainer").show();
                    error.html("<li>* "+error.html()+"</li>");
                    error.appendTo("#errorContainer");
                 },
                 wrapper:"li"
            }
        }
    </script>
</head>
<body style="margin:4px">
    <form id="form1" runat="server" defaultfocus="txtDescription" defaultbutton="btnOK">
        <table cellpadding="0" width="100%" cellspacing="0" border="1" class="tEdit" style="border-bottom:0px;margin-top:2px;">
            <th style="border-bottom:0px">周报-其他事项维护</th>
        </table>
        <table cellpadding="0" width="100%" cellspacing="0" border="1" class="tEdit">
		<tr>
			<td class="title1" width="100px">事件序号</td>
			<td><asp:TextBox ID="numSortNo" runat="server"  cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isInt();" Width="96%"></asp:TextBox></td>
			
		</tr>
        <tr>
            <td class="title1">事件描述</td>
			<td><asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Rows="4"  cssClass="input2" MaxLength="500" Width="96%"></asp:TextBox></td>
        </tr>
        </table>
        <asp:HiddenField runat="server" ID="hidWeekReportID" />
        <div class="save_area">
            <asp:Button runat="server" ID="btnOK" Text="确定" class="btn_normal" 
                onmouseover="this.className='btn_active'" 
                onmouseout="this.className='btn_normal'" onclick="btnOK_Click"/>
            <input type="button" id="btnExit" value="取消" onclick="javascript:window.returnValue=false;window.close();" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" />
        </div>
</form>
</body>
</html>


